package com.tqjc.execute.exception;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author: 86195
 * @CreateTime: 2024-09-11  09:44
 * @Description: 上游钢板信息异常
 * @Version: 1.0
 */
@Slf4j
public class UpstreamSteelInfoException extends Exception {
    public UpstreamSteelInfoException(String msg, Throwable t, String craneType) {
        super(msg, t);
        log.error(craneType + "车任务执行中异常" + "  原因:" + msg);
        //TODO:存储故障类型
    }

    public UpstreamSteelInfoException(String msg, String craneType) {
        super(msg);
        log.error(craneType + "车任务执行中异常" + "  原因:" + msg);
        //TODO:存储故障类型
    }
}
